<%#
# To change this template, choose Tools | Templates
# and open the template in the editor.
%>
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.2//EN" "http://www.openmobilealliance.org/tech/DTD/xhtml-mobile12.dtd">
<html>
  <head>
    <title>Nano URL - shorten that long URL into a Nano URL</title>
    <meta name="viewport" content="width=320; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" />    
    <%= stylesheet_link_tag "s05","scaffold", :media => "all" %>
    <%= javascript_include_tag :defaults  %>
  </head>
  <body>
    <h1>Nano URL</h1>
    <%= error_messages_for 'nano_url' %>
    <% if flash[:notice] -%>
      <div class='info'>
        <%= flash[:notice] %>
      </div>
    <% end -%>
    <div class="section">
      <% form_for :nano_url, :url => {:action => :create} do |form|%>
        <fieldset>
          <legend>Enter a long URL to make nano:</legend>
          <%= form.text_area 'url_link', {:id => "input", :rows => 3, :cols => 70} %>
          <%= submit_tag "make short!" %>
        </fieldset>
      <% end %>
    </div>
    
    <hr/>
    
    <div id="footer">
      <div id="footer-inner">
        <h1 class="hide">Nano url Sitewide Footer</h1>&copy; 2008 Nano URL. Developed by <a href="http://eroslive.yo2.cn">Eros Live</a>. Powered by <a href="http://rubyonrails.org">Rails</a>, <a href="http://heroku.com">Heroku</a>. <br />
        
      </div>
    </div>
  </body>
</html>

